
/**
 *  tabbar配置
 *  pagePathName 对应 globalHomePage/index页面组件
 */

// 通用-消息
const universalMsgTabbar = {
  customNavigation: true,
  pagePathName: "universalMsgTabbar",
  pagePath: "subHome/tabbars/msg",
  text: "消息",
  // iconPath: "/static/images/tabbar/msg.png",
  // selectedIconPath: "/static/images/tabbar/msg_fill.png",
  iconPath: "meun-xinxi",
  selectedIconPath: "meun-xinxi",
  iconType: "font",
  whether: true,
  count: 23
}

// 通用-通讯录
const universalHomeTabbar = {
  customNavigation: true,
  pagePathName: "universalHomeTabbar",
  pagePath: "/pages/subCustom/service",
  text: "首页",
  // iconPath: "/static/images/tabbar/book.png",
  // selectedIconPath: "/static/images/tabbar/book_fill.png",
  iconPath: "meun-fenlei",
  selectedIconPath: "meun-fenlei",
  iconType: "font",
  iconSize: '80rpx',
  whether: true,
  isCenter: true,
  navigatorType: 'navigate' // 'tabbar' (默认) 或 'navigate'
}

// 通用-工作台
const universalFuncTabbar = {
  pagePathName: "universalFuncTabbar",
  pagePath: "subHome/tabbars/func",
  text: "功能",
  // iconPath: "/static/images/tabbar/cell.png",
  // selectedIconPath: "/static/images/tabbar/cell_fill.png",
  iconPath: "meun-fenlei",
  selectedIconPath: "meun-fenlei",
  iconType: "font",
  whether: false, // 首页默认选中
  customNavigation: true,
}

// 通用-数据看板
const universalDataShowTabbar = {
  pagePathName: "universalDataShowTabbar",
  pagePath: "subHome/tabbars/home",
  text: "数据",
  // iconPath: "/static/images/tabbar/data.png",
  // selectedIconPath: "/static/images/tabbar/data_fill.png",
  iconPath: "meun-gaishuai",
  selectedIconPath: "meun-gaishuai",
  iconType: "font",
  whether: false, // 首页默认选中
  customNavigation: true,
}


// 通用-我的页面
const universalUserTabbar = {
  customNavigation: true,
  pagePathName: "universalUserTabbar",
  pagePath: "subHome/tabbar/user",
  text: "我的",
  // iconPath: "/static/images/tabbar/user.png",
  // selectedIconPath: "/static/images/tabbar/user_fill.png"
  iconPath: "meun-wode",
  selectedIconPath: "meun-wode",
  iconType: "font",
}

//  角色 B 端


export default {
  // 角色通用tabbar （如果系统不同角色的tabar都一致时只需要建立一个）
  universalTabbar: [
    universalMsgTabbar,
    // universalDataShowTabbar,
    universalHomeTabbar,
    // universalFuncTabbar,
    universalUserTabbar,
  ]
}